package com.raymond.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 操作员表
 * </p>
 *
 * @author raymond
 * @since 2019-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lf_sysuser")
@ApiModel(value="SysUser对象", description="操作员表")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作员userId")
    @TableId("USER_ID")
    private Long userId;

    @ApiModelProperty(value = "机构id")
    @TableField("DEP_ID")
    private Long depId;

    @ApiModelProperty(value = "登录账号")
    @TableField("USER_NAME")
    private String userName;

    @ApiModelProperty(value = "操作员名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "性别")
    @TableField("SEX")
    private Integer sex;

    @ApiModelProperty(value = "生日")
    @TableField("BIRTHDAY")
    private Date birthday;

    @ApiModelProperty(value = "手机号码")
    @TableField("MOBILE")
    private String mobile;

    @ApiModelProperty(value = "座机")
    @TableField("OPH")
    private String oph;

    @ApiModelProperty(value = "QQ号码")
    @TableField("QQ")
    private String qq;

    @ApiModelProperty(value = "Email")
    @TableField("E_MAIL")
    private String eMail;

    @ApiModelProperty(value = "MSN")
    @TableField("MSN")
    private String msn;

    @ApiModelProperty(value = "密码")
    @TableField("PASSWORD")
    private String password;

    @ApiModelProperty(value = "操作员状态（0为禁用，1为启用，2为注销，3为锁定）")
    @TableField("USER_STATE")
    private Integer userState;

    @ApiModelProperty(value = "注册时间")
    @TableField("REG_TIME")
    private Date regTime;

    @ApiModelProperty(value = "开户人")
    @TableField("HOLDER")
    private String holder;

    @ApiModelProperty(value = "描述")
    @TableField("COMMENTS")
    private String comments;

    @ApiModelProperty(value = "工作状态（0无效，1有效）")
    @TableField("WORK_STATE")
    private Integer workState;

    @TableField("MANUAL_INPUT")
    private Integer manualInput;

    @TableField("USER_TYPE")
    private Integer userType;

    @ApiModelProperty(value = "自建群组id")
    @TableField("UDG_ID")
    private Long udgId;

    @ApiModelProperty(value = "是否（0否，1是）能查看部门客户")
    @TableField("CLIENT_STATE")
    private Integer clientState;

    @ApiModelProperty(value = "员工ID")
    @TableField("EMPLOYEEID")
    private Long employeeid;

    @ApiModelProperty(value = "唯一标识（通讯录用）")
    @TableField("GUID")
    private Long guid;

    @ApiModelProperty(value = "是否在线（0-不在线；1-在线）")
    @TableField("ON_LINE")
    private Integer onLine;

    @ApiModelProperty(value = "企业编码")
    @TableField("CORP_CODE")
    private String corpCode;

    @ApiModelProperty(value = "职位ID")
    @TableField("P_ID")
    private Long pId;

    @TableField("EMPLOYEE_NO")
    private String employeeNo;

    @TableField("REC_STATE")
    private Integer recState;

    @TableField("HIDEPH_STATE")
    private Integer hidephState;

    @TableField("DEP_CODE")
    private String depCode;

    @TableField("LASTUPDDTIM")
    private Date lastupddtim;

    @ApiModelProperty(value = "在职状态")
    @TableField("HR_STATUS")
    private String hrStatus;

    @TableField("FAX")
    private String fax;

    @TableField("ALLOW_LOGIN")
    private Integer allowLogin;

    @TableField("POST_ID")
    private Long postId;

    @ApiModelProperty(value = "权限类型 1：个人权限  2：机构权限")
    @TableField("PERMISSION_TYPE")
    private Integer permissionType;

    @ApiModelProperty(value = "用户编码")
    @TableField("USER_CODE")
    private String userCode;

    @ApiModelProperty(value = "是否存在尾号1为有尾号，0、2为没有尾号，默认为0")
    @TableField("ISEXISTSUBNO")
    private Integer isExistSubNo;

    @ApiModelProperty(value = "统一平台操作员标识ID")
    @TableField("UP_GUID")
    private Long upGuid;

    @ApiModelProperty(value = "是否是审核人，1：是，2：否")
    @TableField("IS_REVIEWER")
    private Integer isReviewer;

    @ApiModelProperty(value = "职务")
    @TableField("DUTIES")
    private String duties;

    @ApiModelProperty(value = "是否需要被审核，1：要，2：不需要")
    @TableField("IS_AUDITED")
    private Integer isAudited;

    @ApiModelProperty(value = "能控制标志位:第一位：是否支持审核短信提醒0：否 1：是")
    @TableField("CONTROLFLAG")
    private String controlFlag;

    @ApiModelProperty(value = "密码最后修改时间")
    @TableField("PWDUPDATETIME")
    private Date pwdUpdateTime;

    @ApiModelProperty(value = "密码输错次数")
    @TableField("PWDERRORTIMES")
    private Integer pwderrortimes;

    @ApiModelProperty(value = "工号")
    @TableField("WORKNUMBER")
    private String workNumber;

    @ApiModelProperty(value = "找回密码的次数")
    @TableField("FINDPWDTIMES")
    private Integer findPwdTimes;

    @ApiModelProperty(value = "发送找回密码的日期")
    @TableField("FINDPWDDATE")
    private String findPwdDate;

    @ApiModelProperty(value = "0，非客服，1属于客服人员")
    @TableField("IS_CUSTOME")
    private Integer isCusTome;

    @ApiModelProperty(value = "语言设置")
    @TableField("LANGUAGE_CODE")
    private String languageCode;

    @ApiModelProperty(value = "是否显示数字")
    @TableField("SHOWNUM")
    private Integer showNum;


}
